.\" Manpage for zx.
.TH man 8 "06 Jul 2024" "8.x" "zx man page"
.SH NAME
zx \- the zx CLI
.SH DESCRIPTION
A tool for writing better scripts.
.SH SYNOPSIS
.SS zx\fR [\fIOPTIONS\fR]  \fIURI\fR
.SH OPTIONS
.SS --cwd
set current directory
.SS --quiet
suppress any outputs
.SS --verbose
enables verbose mode
.SS --shell=<path>
set the shell to use
.SS --prefix=<command>
prefix all commands
.SS --postfix=<command>
postfix all commands
.SS --prefer-local, -l
prefer locally installed packages and binaries
.SS --eval=<js>, -e
evaluate script
.SS --ext=<.mjs>
script extension
.SS --install, -i
install dependencies
.SS --registry=<URL>
npm registry, defaults to https://registry.npmjs.org/
.SS --repl
start repl
.SS --env=<path>
path to env file
.SS --version, -v
print current zx version
.SS --help, -h
print command help and options
.SH EXAMPLES
.TP
.I zx --verbose script.js
.TP
.I zx https://example.com/script.js
.TP
.I zx -e '$`ls -l`'
.SH BUGS
https://github.com/google/zx/issues.
.SH AUTHOR
Anton Medvedev (https://medv.io/)